using System;
using System.Collections;

using DesignByContract;

namespace Outcoding.GraphGenerator.Entities {
    public class MarkerStyleDispatcher : DispatcherBase {
       
        private MarkerStyle[] mAvailableStyles;

        public MarkerStyleDispatcher()
            : base() {
            mAvailableStyles = new MarkerStyle[] { MarkerStyle.msRhombus, MarkerStyle.msTriangle, MarkerStyle.msStar, MarkerStyle.msBigSquare };
            mIsAutoFill = true;
            this.Fill();
        }

        protected override void Fill() {
            foreach (MarkerStyle tmp in mAvailableStyles)
                this.Add(tmp);
        }
    }
}